<html xmlns:wicket="http://wicket.apache.org/">
<head>
<title><wicket:message key="SQL view">SQL view</wicket:message></title>
</head>
<body>
<wicket:extend>

    <form wicket:id="form">

    <ul>
        <li><label for="name"><wicket:message key="name">name</wicket:message></label>
          <input type="text" wicket:id="name"/>
        </li>
        <li><label for="sqlDefinition"><wicket:message key="sqlDefinition">sql definition</wicket:message></label>
          <textarea rows="60" cols="20" wicket:id="sql"></textarea>
        </li>
        <li><label for="parameters"><wicket:message key="parameters">parameters</wicket:message></label>
            <a href="#" wicket:id="guessParams"><wicket:message key="guessParams">guess from sql</wicket:message></a>&nbsp;&nbsp;&nbsp;&nbsp;
            <a href="#" wicket:id="addNewParam"><wicket:message key="addNewParam">add new</wicket:message></a>&nbsp;&nbsp;&nbsp;&nbsp;
            <a href="#" wicket:id="removeParam"><wicket:message key="removeSelected">remove selected</wicket:message></a>
            <div wicket:id="parameters"></div>
            <input type="checkbox" wicket:id="escapeSql"/><wicket:message key="escapeSql">Escape special characters</wicket:message>
        </li>
        <li><label for="attributes"><wicket:message key="attributes">attributes</wicket:message></label>
            <a href="#" wicket:id="refresh"><wicket:message key="refresh">refresh</wicket:message></a>&nbsp;&nbsp;&nbsp;
            <span wicket:message="title:guessGeometrySridWarning"><input type="checkbox" wicket:id="guessGeometrySrid"/><wicket:message key="guessGeometrySrid">Guess geometry type and srid</wicket:message></span>
            <div wicket:id="attributes"></div>
        </li>
    </ul>

    <div class="button-group selfclear"><a href="#" wicket:id="save"><wicket:message
        key="save">Save</wicket:message></a> <a href="#" wicket:id="cancel"><wicket:message
        key="cancel">Cancel</wicket:message></a></div>
    </form>
    
<wicket:fragment wicket:id="checkbox">
  <input type="checkbox" wicket:id="identifier"/>
</wicket:fragment>

<wicket:fragment wicket:id="geometry">
  <select wicket:id="geometry"></select>
</wicket:fragment>

<wicket:fragment wicket:id="text">
  <input type="text" wicket:id="text"></input>
</wicket:fragment>

</wicket:extend>


</body>
</html>